﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CoreRay
{
    public abstract class Integrator
    {
        protected Integrator(Scene scene)
        {
            this.Scene = scene;
        }

        protected Scene Scene
        {
            get;
            private set;
        }

        public virtual void OnPreRender()
        {

        }

        public abstract Spectrum LI(Ray ray, Intersection primaryIntersection);
    }
}
